Text resizing fix