OBS Studio Xcomposite not working properly

Hi, I want to use OBS (Flatpak) on my BSPWM EOS rig for some streaming and recording but the window capturing doesn’t work well.
2022-08-09_13-19 2022-08-09_13-19_1
I achieved these two scenarios and neither is the effect I want, how to fix it?
(On native app effect is practically the same.)

Does the repo version work any better/differently?

Only difference is the black screen instead of white in 1st scenario.