fix clipping in safari