Fix jumpy navigation on click.