editor: canvas - let every child of a detached element clean up after itself