Crash on mouse press on tabulature in Repitch input mode
Steps to reproduce:
1. Create a score with a treble clef and a tabulature.
2. Add any note to the treble clef.
3. Enter Re-pitch input mode, ensure that note input mode is turned on.
4. Repitch the added note (e.g. press A)
5. Move mouse to the tabulature.
6. Click mouse.