Update LayoutUnit usage in Editor and Frame