attempt to fix text selection