I am not sure it is a breaking change. Just a doLayout call should not be required in majority of cases.

I think a doLayout call within an AfterLayout listener is an incorrect thing. It can cause recursion.