Additional precautions to keep windows from appearing in screenshots.