Only reset matrices in Groups when it could actually be applied to the content.

That way, empty groups in SVGImport still keep their transformation state.