fix #21625: key signature and ledger lines in staff type don't work