Fixed potential endless loop in AbstractDynamicComponent.toString