Maintain order of styles passed to CompositeStyle

This fix will make sure that if two styles setting the same property are combined then the last added style will override the property value.