Fixed portal teleportation bug