[4.0] Fix the issue that GetHeightForWidth returns wrong height after calling GetText...