http://bugs.winehq.org/show_bug.cgi?id=58993
--- Comment #5 from D daniel.penalized@proton.me --- Done.
The culprit commit is: https://gitlab.winehq.org/wine/wine/-/commit/18ce7964203b486c8236f2c16a370ae... from MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/9415.
Reverting that commit solves both issues.
The MR comments point out other programs affected by this commit. There is even an open bug report: https://bugs.winehq.org/show_bug.cgi?id=58971. So my bug report can be considered a duplicate.