Fix issue where expanded text boxes would not resize on small screens.