Resize the screenshot.