bugfix for animating meshes