Merge pull request #9002 from OatmealDome/renderwidget-sheet MainWindow: Attach quit emulation sheet to RenderWidget if shown on macOS