Repro steps:
1. Connect the secondary display to a MacBook with a retina display
2. In the settings set the built-in display as an extended display
3. Build and run the project
4. Click the “Activate Second Monitor” button
Expected result: The built-in display is set to fullscreen mode
Actual result: The built-in display has a small viewport in the bottom left corner
Reproducible with: 2020.3.41f1, 2021.3.13f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a19
Reproducible on: macOS 13.0 (Intel, M1)
Note: On 2022.2.0b15 and higher the the viewport looks like it’s set to fullscreen, but the resolution is wrong