anchor.diff:        enabled = !debugDisableClipLayers;
         return true;
       }());
  -    if (enabled)
  -      builder.pushClipPath(clipPath.shift(layerOffset), clipBehavior: clipBehavior);
  +    if (enabled) {
  +      final Path shiftedPath = layerOffset == Offset.zero ? clipPath : clipPath.shift(layerOffset);
  +      builder.pushClipPath(shiftedPath, clipBehavior: clipBehavior);
  +    }
       addChildrenToScene(builder, layerOffset);
       if (enabled)
         builder.pop();
  
positive.code:       enabled = !debugDisableClipLayers;
        return true;
      }());
      if (enabled)
        builder.pushClipRRect(clipRRect.shift(layerOffset), clipBehavior: clipBehavior);
      addChildrenToScene(builder, layerOffset);
      if (enabled)
        builder.pop();
  
negative.code: 
    @override
    ui.EngineLayer addToScene(ui.SceneBuilder builder, [ Offset layerOffset = Offset.zero ]) {
      final Rect shiftedRect = layerOffset == Offset.zero ? rect : rect.shift(layerOffset);
      builder.addTexture(
        textureId,
        offset: shiftedRect.topLeft,
  