Remove duplicate mask control