Fixed some bugs.

Diffuse color is white when texture is used.