Avoid adjusting selection twice in TextControl.

This commit licensed as MIT/X11.
Merge pull request #856 from madewokherd/textcontrol

Avoid adjusting selection twice in TextControl.