Invisible rests affecting beams
See discussion at https://musescore.org/en/node/289274
The correct file attached there is Bad_avoidance.mscz
In the file, move the invisible rest up and notice that the voice 2 beam adjusts right on top of the voice 1 rest. Visible rests should be taken into account in automatic placement.