fix selection by mouse dblclick issue