MeshBuffer memory leak fix