Fixed Flexbox bug