I’m a bit late to the party, but I just finished rewriting my screen module that should handle things like this automatically.
If you would, you can download the project from https://github.com/SpyricGames/Solar2D-Plugins-Public/tree/main/Screen.
After you’ve built it to your device, I’d appreciate it if you could let me know if it works as expected (and include a screenshot if it doesn’t).