enable and disable bounding box