Avoiding crash on exit (not fixed, but not important neither). Probably Ogre issue. Mantis issue related #371