The size of the contents is not updated until after SubsEditBox::OnSize is called, so the wrapping logic was being done based on the previous available area, rather than the new size. Originally committed to SVN as r6284.
* To be written.