Error deleting the static meshes.

The instance mesh must must not delete the static mesh, it only has the
pointer to the static mesh. The static mesh manager deletes the mesh
when the program exists, therfore there is no memory leaks.