Added fix for too many uniforms error.