Fix flexbox for safari