implemented more reliable text clipping