fix layerColor bug for shader change