Fix for ScaleType CENTER_CROP to take into account the view size and the gif image size