Fix !ENABLE(3D_CANVAS) build.