Fix scale for generated image.