Separating render/renderAtlas functions as in the current dev branch of HaxePunk.