Fix navbar inactive issue