Key signatures within bar causes engraving collisions

I have many key signature changes within measures for sketch writing, which will not be present in the cleaned-up final score. I notice these key signatures do not avoid collisions well, as seen in this part, here.

The full score mostly does not have these collisions, because the horizontal space is set by instruments which have notes, whereas in the part, the horizontal space is compressed. But sometimes the full score has these collisions too:

Screen Shot 2024-05-05 at 6.10.14 PM

Yes, this is the expected behaviour. Unless there are items at the same rhythmic positions as the key signatures, there’s nothing for them to push against.