Fix unclickable "near to" field on Safari (#5253)