Fixed warning with CGContextGetCTM called for a 0x0 context.