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).

this.restore();
    }
    beginAnnotation(rect, transform, matrix) {
      this.save();
      resetCtxToDefault(this.ctx);
      this.current = new CanvasExtraState();
      if (Array.isArray(rect) && rect.length === 4) {
        const width = rect[2] - rect[0];
        const height = rect[3] - rect[1];
        this.ctx.rect(rect[0], rect[1], width, height);
        this.clip();
        this.endPath();
      }
      this.transform.apply(this, transform);
      this.transform.apply(this, matrix);
    }
    endAnnotation() {
      this.restore();
    }
    paintImageMaskXObject(img) {
      if (!this.contentVisible) {
        return;
      }
      const ctx = this.ctx;
      const width = img.width,
        height = img.height;
      const fillColor = this.current.fillColor;