Intersect group bounding box with the current canvas dimensions.
Fix scroll keys in Firefox
Merge pull request #3831 from Snuffleupagus/fix-Firefox-scrolling

Fix scroll keys in Firefox
Merge pull request #3798 from brendandahl/intersect-bbox

Intersect group bounding box with the current canvas dimensions.
WIP