If you don't mind, I think this also affects https://bugs.winehq.org/show_bug.cgi?id=57603 which was working until 9.22. Deleting the same line as the patch gets mouse events to land properly, although other users report that menus still open in the wrong location.
I'll provide any logs you need as you flesh out this MR.