fix #25036 : Fix crash in MuseScore by selecting "undefined" in the inspector window for Ambitus palette element