Fix image generation for user images.