updateLayoutmethod, always use the data in the
onLayoutChangecallback as the source of truth. You can then determine when only some of the properties have changed.
height, Canva keeps the element centered on its original origin. If the existing layout has a crop box, Canva automatically scales the crop box to maintain the element's appearance.