See this pull request and how it could apply to Screen: https://github.com/obsproject/obs-studio/pull/5875
See this pull request and how it could apply to Screen: obsproject/obs-studio#5875