Fixed OffscreenCanvas regression.
Fixed test failure for ChartTest.