Fix portal teleportation

End portal teleportation was getting disabled