Alternate title: _Applying #6684-similar fix to stroke_
#6684 makes sure the "current" transformation, at the moment of filling radial gradients is the `baseTransform` (that of the rescource (page), as it says in the specs). However, this should also be fixed in [`CanvasGraphics_stroke`](https://github.com/dsprenkels/pdf.js/blob/a9081653fc565eb72c3eb5142c17088cb162e7ce/src/display/canvas.js#L1052).

unreachable("Should not call beginImageData");
    }
    paintFormXObjectBegin(matrix, bbox) {
      if (!this.contentVisible) {
        return;
      }
      this.save();
      this.baseTransformStack.push(this.baseTransform);
      if (Array.isArray(matrix) && matrix.length === 6) {
        this.transform.apply(this, matrix);
      }
      this.baseTransform = this.ctx.mozCurrentTransform;
      if (bbox) {
        const width = bbox[2] - bbox[0];
        const height = bbox[3] - bbox[1];
        this.ctx.rect(bbox[0], bbox[1], width, height);
        this.clip();
        this.endPath();
      }
    }
    paintFormXObjectEnd() {
      if (!this.contentVisible) {
        return;
      }
      this.restore();
      this.baseTransform = this.baseTransformStack.pop();
    }
    beginGroup(group) {