https://bugs.winehq.org/show_bug.cgi?id=51989
--- Comment #5 from Esme Povirk madewokherd@gmail.com --- Here we go. I got the new version from KB5007885: https://support.microsoft.com/en-us/topic/november-9-2021-kb5007186-os-build...
"Addresses an issue in which certain apps might have unexpected results when rendering some user interface elements or when drawing within the app. You might encounter this issue with apps that use GDI+ and set a zero (0) width pen object on displays with high dots per inch (DPI) or resolution, or if the app is using scaling."
So this is broken behavior that MS shipped and later fixed.