c5332b2f86
The window decided nothing was there whenever focus left the composer, which is exactly what opening a dialog or clicking a link does — a portalled overlay lives outside the shell, so `:focus-within` goes with it and the window turned mouse-transparent underneath the thing you had just opened. The old hit test only knew about the bar's rectangle, too. It asks the document instead. Everything the HUD deliberately doesn't catch is already `pointer-events: none`, so whatever comes back under the cursor is something real, and focus is read at the document rather than the shell.