fix custom thumb cropping