Fix light issue

No more probleme when there are no light

Do not have the crash issue anymore with directional light