Fixes for shader.