fix #23913: Crash on copy of selected chord symbols