Cocos2dx 3.3 issues + Microfixes

Fixed mask creating by [] access
Fixed double definition for local variable