Avoid problem when mapInfo is null
Fix bug loading duplicated textures from ground