Fixed rendering of colors and materials.