Fix text reflow problems