I'm going to make a guess that you set cameraclsmode for your camera to false, true to clear the z-buffer eahc frame but not the color buffer, and what you are seeing is not the actual object being unhidden, but an afterimage created by the "hall of mirrors effect" which you get when you don't clear part of a scene, and don't overdraw every part with geometry every frame.
You'll want to set cameraclsmode to true, true for your second camera.
Oh and just in case you don't realise it, all camera views get rendered when you do a renderworld, so you have to hide the main camera when rendering the shadow camera view and vice versa.
You'll want to set cameraclsmode to true, true for your second camera.
Oh and just in case you don't realise it, all camera views get rendered when you do a renderworld, so you have to hide the main camera when rendering the shadow camera view and vice versa.