viewer: fix waypoint drawing range