Assigning individual mask object for each window