fix bug with highlight after drag