Fix navigation on click.