[Fix] Bad behaviour on clicking into selected text in locationbar.

Closes #751