Yes this problem has nothing to do with shaders.. its because the stencil shadow uses a "Z-Pass" method, which works only if the camera isnt in a shadow volume. I assume They will eventually implement a "Z-Fail" method which will work even if the camera is in the shadow volume.