Bug in TextureAtlas