Simplify renderText a little