fixed problem with VertexBuffer bind/unbind