Realignment issue after setting a control's parent at runtime

We use TMS Web Core 2.6.1.2. If we set a control's parent at runtime and the control's Align property is different from alNone, it is initially not correctly aligned to the parent.
We found that the following fix in the WEBLib.Controls.TControl.SetParent method solves this problem:

    if Assigned(AValue) and Assigned(Parent) and not Parent.IsUpdating then
      if Align <> alNone then // fix
        DoRealign             // fix
      else                    // fix
        Realign;

This fix also corresponds to what is done regarding realignment in TControl.SetBoundsInt.

Thanks for this suggested improvement. We'll apply it for the next update.