Remove mask elements