Fixed autocomplete showing after a trigger was exited.