Fixing wrong OpenGL texture coordinates and setting proper clamping