Fixed the bug

I was accidentally setting invisible colors for objects and illogically
mixing colors and colored materials.