Fixed bug in OSX MeshBuffer