fixed a text clipping issue