If we have the render layer set up, use it in beginGroup: and endGroup: