Issue #5968: fixed a bug of cc.Layer that its bake function doesn't work
Merge pull request #2360 from dingpinglv/Iss5968_RefactorCanvasRenderer

Issue #5968: fixed a bug of cc.Layer that its bake function doesn't work