fixing highlight issue

this fix addresses text highlighting and cursor changing on drag