fixed set color to parent, it will effect its children

Fixed set color to parent, it will effect its children.