Text panel doesn't hold scroll position after switching view