Bug of overlapping windows on the same sidebar

When using the brave on two separate desktops along with using the rectangle app that when reproducing these steps caused for errors to be made:

1.) Created a brave window exactly half the width of my laptop that’s in a vertical tab layout

2.) Created a brave window both half the width of my laptop screen and half the height of my laptop screen in the bottom left-hand corner in a new Desktop also in a vertical tab layout

3.) When switching back to the First window in the first desktop, and not selecting the window, the first window would merge the vertical sidebar of both tabs creating a weird mess, being slightly amusing to witness

This was created in macOS but didn’t know where to but it as a tag