Make deferred canvases work with cairo.