Currently layer effects such as drop shadow are rendered on the CALayer itself onto a photoshop layer. This causes the shadow to be rendered wrongly when the sublayer extends above the parent layer's bounds.

The CALayer effects should mapped onto a group instead, with the content of the CALayer as the first PS layer within the group.
