screenshotting fixes