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

switch (transferMaps.length) {
        case 1:
          transferMapRed = transferMaps[0];
          transferMapGreen = transferMaps[0];
          transferMapBlue = transferMaps[0];
          transferMapGray = transferMaps[0];
          break;
        case 4:
          transferMapRed = transferMaps[0];
          transferMapGreen = transferMaps[1];
          transferMapBlue = transferMaps[2];
          transferMapGray = transferMaps[3];
          break;
      }
    }
    
    
    if (imgData.kind === ImageKind.GRAYSCALE_1BPP) {
      
      const srcLength = src.byteLength;
      const dest32 = new Uint32Array(dest.buffer, 0, dest.byteLength >> 2);
      const dest32DataLength = dest32.length;
      const fullSrcDiff = (width + 7) >> 3;
      let white = 0xffffffff;
      let black = IsLittleEndianCached.value ? 0xff000000 : 0x000000ff;
      if (transferMapGray) {
        if (transferMapGray[0] === 0xff && transferMapGray[0xff] === 0) {
          [white, black] = [black, white];
        }
      }