Fix portal teleportation

End portal teleportation was getting disabled
Merge pull request #25 from danquist/master

Fix portal teleportation