Fixed crash upon chunk unloading