The MUI menu backdrop swallowed the first click, forcing an extra
dismiss click before selecting a file. The root overlay now has
pointer-events:none with the paper restored to auto (same trick as
HoverMenu), and a document pointerdown listener closes the menu on any
outside press — the same event still selects the file beneath.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>