fix #23188: hairpin extends to end of score on copy/paste or save/reload