fix textfield focus error on iOS