calc content bounds for proper layer comp scaling

Fixes Issue #273 (Absolute Scale doesn't work with layer comps)

I think the comment is wrong here. The rect computed above is the containing (union) rect, but this is the contained (intersection) rect.