fix viewMask

(note: * operator on lists copies by reference)