Fixing bounding box highlighting