Collisions with "hide empty staves"

Hello, all. I’ve been having this issue for a bit and am uncertain how to resolve.

In my score, I’ve chosen to hide empty staves. For the most part, it looks fine, but later in the score, it creates this collision among multiple instruments and I’m uncertain how to fix it. Please see attached image below.

Essentially, the trumpet and percussion that are together briefly are being jammed against material that shows up six measures later. Any help is appreciated.

You probably need to “help” Dorico here by setting some breaks. Dorico does very well by default except… when sometimes it doesn’t, because there’s more stuff vertically than it expected.