Fixed small issue with shouldHideNavbarWhileTyping