Fix up save_screenshot scope