Fixes some maps

Fixes issues on some map ending and player teleportation areas.