Pathfinding works, but is it correct?