Fix layout for safari