fix layerColor bug for shader change
Merge pull request #5023 from dabingnn/develop_layerColorBugForShaderChange

fix layerColor bug for shader change