Fixed board masking by initializing the mask.