This is because macOS seems to call `windowDidChangeScreen()` for some reason which now restarts rendering with new screen parameters. With auto brightness this can lead to a continuous restart issue.