Fixes click on text field when the popup is open.