world smoothing and pathfinding fix