Fixed bug with object color