Io box with xml content will resize region if surrounded

hi all,

first I thought long strings cause it, but it seems to be related to XML input.
happens when you have a resized iobox with string and right-click → surround by IF or CACHE.

xml

cannot reproduce from just your description and screen recording. please share the patch.