Fix bug with closing chat drop down