fix GraphicsGroup.rect