Bug 1034584 - Prevent invalid sources to contaminate cairo DrawTargets during painting operations. r=Bas