Fixes track changes feature inserting text backwards in certain situations.