https://bugs.winehq.org/show_bug.cgi?id=46274
--- Comment #2 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Thanks for the testing. Indeed this bug has been staged, so fixed in wine-staging for a while.
It hasn't been upstreamed yet because it touches some sensitive stuff about focusing and reviewing it fully is a bit difficult. So it's been staged to get further testing and it doesn't seem to cause any issues. Feel free to try to get it upstream though.