Fix GLSL shader problems, allowing to work on smartphone and tablet