Fixing bug with use after release.

Child which is released after parent (CCSpriteBatchNode) will use
already released parent.

check http://www.cocos2d-x.org/forums/6/topics/44993?r=45023#message-45023