Hello Thomas,
sorry for the late reply. > "\staffHighlight" does not work properly if there is a tempo marking > and a whole bar rest in the first bar. This is now registered in our bug database. https://gitlab.com/lilypond/lilypond/-/issues/6730 Werner