change coordinates to globalBounds so grouped objects have the correct position