fixed a bug that autocomplete drop down item cannot be selected