Matrix fix in ShaderPainter.