Fixing mask on deleting.