Fixed problem where text selection lost focus when mouse up happens out of textcontrol