Fix update edge position when selecting multiple vertices bug