fix search field focussing problems. fixes #922