Fix drawing display aspect ratios in gallery detail view controller