Bug fix in light loc.

...Never seem to get the if/else statements right.