Improved light shadow extension.

It now uses the light's radius instead of the (rather dodgy metric)
window size.