Any way to fix wine flashing/blinking with some windows programs?

Open link in next tab

Screencast from 2023-06-27 17-09-48

https://streamable.com/88m6gg

Watch "Screencast from 2023-06-27 17-09-48" on Streamable.

I know in this case I could innoextract to get the contents of this setup (morrowind gog) but I've also had this problem on other setups that I couldn't use innoextract with. Any of you have had this problem before and fixed it?

Thank you

EDIT: it’s due to Xwayland. Using X11 can fix it, or activating the option for “Emulating a virtual desktop” in the Graphics Tab in winecfg.