Problem with the shadow casting using non-uniformly scaled occluders

I think there may be a problem with the shadow casting using locally scaled occluders.

The hat below is non-uniformly scaled (1, 2, 1) and it seems that the shadow volumes are being generated from a uniformly scaled instance.







Here is the same scene without shadows:



Can you add a bug to the issue tracker?