Change text.measuresize -> text.resize, fixes https://www.pivotaltracker.com/story/show/77937986