Dungeon Crawler Movement bug

Hi. In all Dungeon Crawler Movement variants I have seen, the following bug is present. Including the one below. When pressing Forward and Rotation quickly, the character can move away from integer coordinates. How can this be fixed?

Example of a solution to an issue that has the above bug

Why not truncate the coordinates after every movement?