small bug fix for pathfinding entity avoidance