Merge "Fix takeScreenshot for visible background users." into main