Wrapping root element triggers an error

Found a bug:

  1. I created a component out of a textbox
  2. Opened the component
  3. Tried to wrap the textbox root inside a container
  4. Error message popped up