Fix autofocus and search.