Fix bug with light size computation: NaNs were being sent to shaders,
resulting in white/black objects.
Authored by: klaussfreire 2010-03-19
Parent: [r12738]
Child: [r12740]