fixed the full-width issue in drawText