Fixed a bug where if a map was loaded before anything else was done, the detail texture would not be displayed properly