Fix layout in safari