fixing the debug bounding box