Fixed the teleportation