Fixed a bug of cc.Layer for bake
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-html5 into develop
Merge pull request #2244 from dingpinglv/develop

Fixed a bug of cc.Layer for bake