Fixed bug in conversion from object to color modifier