Geometry casts shadow on itself?

This is the expected result of the current implementation of the shadow renderer because the shadow is applied after the scene has been rendered.
I’m currently working on an improved version which is not ready yet but will look much better.