Fixed ios focus bug