fixed gamebreaking bug in pathfinding