Fixes nested clipping layers
Merge pull request #1027 from yurydelendik/sbemail41

Fixes nested clipping layers