https://bugs.winehq.org/show_bug.cgi?id=54233
--- Comment #7 from Rafał Mużyło galtgendo@o2.pl --- To have a note in both places: recently a bug has been filed that sounded somewhat similar to the conditions of this one; it was marked as a duplicate of bug 20190, which has recently (well, relatively to that bug creation date) gained mr667, which while got stale, the fix proposed looks pretty much like addressing the problem here, if you combine the info from the ghidra snapshot and the window hierarchy from the log.