minor tweak to safe teleport algorithm to make half-slab spawning more consistently predictable