fixed local position and added teleportation cooldown