Graphical objects order are changed when using TABS

When using TABS, the order of objects are changed.

Main window:

Pic1: macOS preferences: use TABS always

Pic2: Window without TABS

Pic3: Window when using TABS

Pic4: Animation when scrolling the details view

Does anybody know how I can fix this problem?

Work-around: After open a new window, resize Window1

self.height = self.height+1
self.height = self.height-1

A window turned into a tab by MacOS does not receive a resized event.

edit: a XOJO window doesn’t. other apps all seem to work fine…
Maybe Xojo isnt catching the message?