Fixed 'generate image' to create an image with the same scale as the screen