Double title bars on chromium when disabling "use system title bar and borders" [21.10]

As mentioned in the title, when I disable the "use system title bar and borders" option in chromium, everything seems to work as it should, only showing the chromium title bar, but when i restore or move the window, the MATE title bar shows up on top of chromium's title bar (see picutre). Should I just use MATE's title bar or can I fix this so that it doesn't keep popping up?

sometimes happens with Cupertino panel layout