Use _transform_thumbnail when rescaling thumbnails