Fix iOS keyboard not closing when performing a search