Before taking screenshots.