Teleport to appropriate map when forced to untransform on invalid tile

Closes #1316
Merge pull request #1318 from dorkster/fixes

Fix crash when interacting with event-called NPC
Merge pull request #1319 from dorkster/intermap_transform

Teleport to appropriate map when forced to untransform on invalid tile
Skip initialization of values which will anyways be overwritten
Merge pull request #1322 from hansjoachim/unused-values

Skip initialization of values which will anyways be overwritten
Lock input when the player is in maps/spawn.txt

There was a brief moment when creating/loading a game where the player
could move while ignoring any map collision. This would cause the player
to be infinitely stuck on maps/spawn.txt. Locking input prevents this.
Don't have spawn position/map when it is an invalid tile
Don't skip frames when game is paused

Closes #1321