minor cleanup in TextureAtlas