fix #28821: crash on add clef to first note of measure