fix to hopefully prevent waypoints from glitching underground