Fixed crash with LocalMap when pathfinder was a problem.