Bug fix the navbar disappear issue