Pass the render method when painting with alpha in Cairo for certain layers