fixed a glitch causing the player to teleport to incorrect coordinates