fixes text clipping issue