Texture atlas fix