Cut off shadows

Any idea why a shadow might be cut off at the edges? This seems to happen near the edges of the screen, but not quite. I’m stumped.

Can you share some screenshots?

Never mind, just increasing the padding fixes it. It just looked like the shadow was abruptly cut off.