adapted custom modifications in TextureAtlas to new starling version