diff --git a/projects/common/ui-elements/frame/frame-element.ts b/projects/common/ui-elements/frame/frame-element.ts index 04a5f727d8c8067e0d6e6e7b9543632226b1f042..d1b1717148fdc80b586ea28b6a84928874eb94ef 100644 --- a/projects/common/ui-elements/frame/frame-element.ts +++ b/projects/common/ui-elements/frame/frame-element.ts @@ -22,6 +22,8 @@ export class FrameElement extends UIElement implements PositionedElement, Surfac this.positionProps = initPositionedElement(serializedElement); this.surfaceProps = initSurfaceElement(serializedElement); + this.positionProps.zIndex = -1; + this.surfaceProps.backgroundColor = serializedElement.surfaceProps?.backgroundColor as string || 'transparent';