How to reproduce:
1. Open the user’s attached “sw-2024-vr-take2.zip” project
2. Press three dots in the top right corner of any window and select “Maximize”
3. When the window is maximized press again the three dots
4. Observe the result
Expected result: Context menu is opened
Actual result: Context menu is not opened
Reproducible with: 2023.3.0b1, 2023.3.0b3
Not reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.4f1, 2023.2.6f1, 2023.3.0a19
Reproduced on: macOS 13.6.3 (Intel)
Not reproducible on: No other environment tested