Bug fix group translation.

If an edge is dragged which belongs to a polygon whose
vertices are in a group, dragging of destroyed the shape
of the polygon.
On the other hand, if the first point of a group is a rotation point,
dragging also destroyed the shape.