[BUG] Image bounding box resizes to a single point upon clicking "hide" and "show"
Describe the bug When drawing multiple bounding boxes near each other (sometimes for overlapping objects in an image) clicking the hide button and then the show button will resize the bounding box to a single point. This results in the annotation being lost.
To Reproduce
- Draw several bounding boxes on an image
- Draw another box and click on the "hide" button in the right "Regions" panel
- Click the hide button again to show the box/label
- It will have shifted to a single point away from the original annotation
Expected behavior The annotation should become hidden upon clicking the hide button and then should reappear (with the same annotation) when the button is clicked again.
Screenshots

Desktop (please complete the following information):
- OS: Mac
- Using browser based UDT on Google Chrome
I am seeing something similar on the https://udt.dev/ demo site with a single box annotation using Brave Version 1.29.76 Chromium: 93.0.4577.58 (Official Build) (x86_64).
- Create Image Segmentation project
- create a Bounding Box annotation "panel"
- load a jpg image from URL as sample data
- annotate the image with a single bounding box of type panel.
- on the regions bar, next to the region indicator "# 1" click the "hide" eye icon
- click "show" -- the region box now has a size of one pixel and the label has disappeared.
I also added two browsers to the same test session https://udt.dev/?s=4riDE3 -- Chrome and Brave -- and it was true for both of them when operating on different images.