Cocos2d-x: Fix uninitialized blendFunc in an unusual situation