Intersect group bounding box with the current canvas dimensions.
Merge pull request #3798 from brendandahl/intersect-bbox

Intersect group bounding box with the current canvas dimensions.