Restored pathfinding