Fix position of group for originx/y different from center.

added managing of  originX/Y to group.