fixes a slight bug with color/shading