Hi,, It may possibly it only fix one of the conditions when it occurs. eg when a scroll bar is added and then it checks to see if can add the other and it doesn't fit so it removes it and that causes an infinite loop.
It does however stop the RTE from happening in the simple sample app I posted up the other day. Thanks, Justin