Make the extraPath work correctly with old pathfinding.