fix when creating thumb from CMYK mode