Vertical orientation offsets the popout input region on the x-axis
(x = barHeight), but the outside-click dismiss only converted mouse.y to
root coords, comparing layer-local mouse.x against root-space card.x.
A click inside the card read as outside and dismissed it. Convert both
axes symmetrically.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>