Fix field selection for TextArea and FileSelection.