Improve text selection