masks: on deletion of brush nodes: remove complete shape if only one node is left