A weird obs-studio problem

Hi. I use xfce and sway on endeavour os and i tried obs in sway. I heard about the poor compatibility of obs with wayland. i couldn’t launch obs through wofi but it ran through terminal.but experienced this bug.
Please watch the video.(If the video didn’t play through the forum please play through youtube)

UPDATE : Not happens everytime.