Fix thumbnail of small images