Bugfix on box.py