Fix entity moving wrong direction for 1 frame.
Remove unneeded function.