Fixed diagonal move/teleport issue