Explicitly set focus to search field.

This fixes #9981.