Final Doom teleporters do not set Z coordinate

From DoomWiki.org

This bug emulated using Chocolate Doom in Doom II MAP23: Barrels o' Fun.

A problem introduced in the Final Doom version of the Doom engine, the Z coordinate of the player is not adjusted to the teleport destination altitude. This can cause the player to be teleported in the air or in the ground. When a monster is teleported, it is spawned on the floor but the teleporter fog remains at the height of origin teleporter.