Fix space rendering for text