fix wrong behaviour of static lights
fix wrong behaviour of static lights

H1Gdev/engine,sereepap2029/playcanvas,MicroWorldwide/PlayCanvas,MicroWorldwide/PlayCanvas,guycalledfrank/engine,playcanvas/engine,sereepap2029/playcanvas,aidinabedi/playcanvas-engine,guycalledfrank/engine,sereepap2029/playcanvas,playcanvas/engine,H1Gdev/engine,aidinabedi/playcanvas-engine