Fix progressbar in safari