Fix JS scroll in Safari.