Noted a bug in a comment with the bounding boxes when the AI gets close to the border.