[Pathfinding] Fixed direction again.