Fix for bug #8 : A new edge is created even on right click