Fixes search box losing focus after typing