fix iOS textfield focus bug