Cleanup unused textures in TextureAtlas.