Fixed bug where pathfinding was not tracking running time correctly.