Fix deadlock with activate native text field