https://bugs.winehq.org/show_bug.cgi?id=38974
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Matteo Bruni from comment #7)
Created attachment 51957 [details] Possible fix
Excellent, I think I see what's going on. I'm attaching a patch, can you check whether it fixes the bug?
The patch fixes the issue here, thank you.