Crash fix if the waypoint coordinates aren't set