Changes to make sure not any user side light.setPosition or light.setDirection in sample shadows