fix multiple cursors appearing when selecting a completion for an elemen...

...t name