fix #38766: bad input position after timesig change
Merge pull request #1449 from MarcSabatella/38766-timesig-inputpos

fix #38766: bad input position after timesig change