fix #38571: Clef displayed incorrectly after change at beginning of system starting with mmrest