feat($scaling): handle scaled image generation failures #1061