Fixed edge unselection due to event propagation