Fixed crash on tile unloading