fix #25867: bad tpc on change of fret number