masks : fix shape removing

removing shape with right-click doesn't hide the other #9366
shape are not permanently deleted with right-click :
user need to use context-menu in the manager.