Fixes navigation issues.