https://bugs.winehq.org/show_bug.cgi?id=38626
--- Comment #14 from Ali a.shahbazi91@gmail.com --- (In reply to Alexandre Julliard from comment #11)
When using an ARGB visual, the window doesn't need to be destroyed and recreated, so it works much better. With current Wine an ARGB visual can be selected by setting "ScreenDepth"="32" under HKCU\Software\Wine\X11 Driver.
BTW, the issue's still present for the first one or two tries.