Sort of fix a lighting bug causing crashes