TextureAtlas: minor cleanup/refactor