Fix flex box issue with webkit (Safari Mac)