When an object goes out of view it's shadow also disappears from the view even if the objects shadow would be cast into the view. I am using stencil shadows (tried both z-pass and z-fail). I have tried adjusting clipping, clip_size, shadow_range.

The image below shows what I'm talking about. The block is still being held in the hand in the picture on the right, but it no longer appears in the shadow because the entity itself is out of view. Is there any way to get around this behavior?