brush and path masks: fix corner deletion