Fix 21778 - misplaced clef change

Fix 21778 - misplaced clef change on lower staff when an upper staff has more chords in between.

For details of the issue, see: http://musescore.org/en/node/21778