The red color used for drawing bounding box was not visible if the widget used default red border color.