I now use two batches one for sprite rendering and one for debugtext.