Fix scaling on thumbnails.