Fixing the active navigation state