Fixed a bug in the XCB_Cairo surface initialization