bounding box bug