Shadows staying after actor is culled

Hello all, I’m having a strange issue. Whenever one of my actors is culled via an object breaking line of sight, their shadow gets left behind. It’s causing my “Was Actor Recently Rendered” function to not work properly. Whenever I disable shadows on the actor, it works as intended, but I obviously need shadows. Am I doing something wrong here?

Bumping that, the node is working fine on UE 4.27, but impossible to get it working on UE 5.x, I don’t want to disable shadows on my mesh. The effect of “weeping angel” is impossible to achieve using UE 5.x or you have to disable the shadows like I said earlier. Any fixes or solutions without disabling shadows would be neat.