Fix modelMatrix for shader uniform variables.