Fix some text pane issues