Scale the movement check in the packet handler like the one on tick.
Also only prevent the movement event as the teleporting back it is done elsewhere.
Finally fix the lag handling to work on the next tick when the movement packets come in