COffscrenContext and CLayeredViewContainers

When trying to blit the content of a CLayeredViewContainer into a CBitmap (e.g. in order to apply BitmapFilters to the view or parts of it) via drawing to a COffscreenContext and subsequentially retrieving the context’s CBitmap it seems like the approach fails when running on Mac Cocoa, where the content is actually drawn into a CALayer.

Is there any chance to achieve this type of behaviour, without having to refrain from layered view containers?

Thanks!