Fixed teleportation bug since it was not teleporting.