Prolonged mouse click issue fixed

Amended createItemFromResult to fire on mousedown rather than click, preventing a prolonged mouse click from hiding the autocomplete dropdown and not updating the text input.