UIAlertController textfield cursor drag & drop of button presses button

When I add textfield UIAlertController and harmlessly move the cursor to where I want in the textfield and when I drag & drop the cursor near cancel button, it would press the cancel button. I just moved a cursor, it shouldn't press the button when letting go of the cursor.

Is there a way to prevent this annoying behavior?