Fix navigation position when scrolling on Safari.