Fixed unloading of textures from non-initialized maps