added missing focus to search-field when visible