mozPaintCount starts at zero: assert its existence by testing against undefined instead of null