matrix shouldn't draw pixels with value of None