fix window mask namespace