fix thumb cropping