fixing bug that prevents multiple shaders to be used with vertex buffers at different locations