REGRESSION (r189567): Elements with aspect ratios not handled correctly inside flexbox.