Use absolute bounds of elements when calculating group bounds.

This avoids including the document origin in instances including
when the group contains an image (whose bounds are 0, 0, w, h, but
whose absolute bounds are likely offset from 0, 0).