https://bugs.winehq.org/show_bug.cgi?id=43270
--- Comment #25 from Daniel Kamil Kozar dkk089@gmail.com --- The patch hasn't unfortunately made it to mainline Wine, however here's the last iteration of it in case anybody wants to include it in their own build :
https://source.winehq.org/patches/data/150654
It applies cleanly to the current development version, which at the time of writing is 4.0-rc5, and fixes the issue described here.