https://bugs.winehq.org/show_bug.cgi?id=41617
--- Comment #13 from Esme Povirk madewokherd@gmail.com --- It's not an endless loop. The region rectangles are different. I think it's just drawing a dotted line with many segments and creating a region for each one.