Deselect text when clicking outside it.