Fix error with texture map files