I guess you could have it try to get behind for like 3 seconds, and if it can't make it settle for being beside. You can get beside any walled mob just not behind. And have it try periodically or if it detects it's walled have it reduce the distance to target to like 3 or something, so unless it's p...