Keyboard is not hidden when chat is closed