Fix bug in boxComplete: correctly check all 4 sides
This merge request fixes a bug in the boxComplete method. Previously, it returned true without checking if all four sides of the box were drawn. Now, it correctly checks that the top, bottom, left, and right lines are all drawn before returning true.
This change ensures that boxes are only claimed when fully enclosed.