Fixes NPE when closing before initializing TransitionManager.
MeshHelper frees all resources when it's no longer needed.