index out of bounds exception fix.
index out of bounds exception fix.

MSylvia/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp,TukekeSoft/CocosSharp,netonjm/CocosSharp,mono/cocos2d-xna,zmaruo/CocosSharp,hig-ag/CocosSharp,MSylvia/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,mono/cocos2d-xna,hig-ag/CocosSharp,haithemaraissia/CocosSharp,zmaruo/CocosSharp