Initialize all fields of Teletransporter.
Fix ground detection when entering maps. Fix #313.

Grounds were applied only after the opening transitions. This was the
correct behavior for holes and lava, but not for water and grass.