Fixed crash with pathfinding in the Tactical Map