Stop text overflowing the richtext preview pane