defensive code to prevent NRE
Merge branch 'master' of https://github.com/Cocos2DXNA/cocos2d-xna