There is a fix which should be included in the next wine-* releases https://source.winehq.org/git/wine.git/commitdiff/9afc341c4f043240f0dc3de6351550b03d24b131
AFAIK, this was fixed since version 4.11. The only package this still effects is app-emulation/wine-vanilla-4.0.3, and since there are more recent stable and unstable builds to choose from, maybe this should be closed.