Yea the long-dist teleport thing is a known issue I’ve been ignoring because it’s a debug-only thing, you may notice it also does weird things with vehicle caching.
The game::vertical_move() should be doing the right things to make sure this isn’t happening, but obviously not… The prime suspect is game::despawn_monsters(), which takes care of handling monsters going off-map.