fix #25867: bad tpc on change of fret number
Merge pull request #1202 from MarcSabatella/25867-tab-mouse-kbd

fix #25867: bad tpc on change of fret number