fixed bug: glVertexAttribPointer had bad stride argument