fix issue where dblclick wouldn't clear selection