Closed #3646: modify cc.Layer to avoid the normal layer when it doesn't use bake function.