fix select and delete behavior for multimask