Detect world unloadings correctly