init shader on construction instead of draw in class CCSpriteBatchNode