masks: allow removal of path/brush nodes in restricted edit mode