Fixed a shader problem occurring on different hardware.