Fix dummy image generation.