Fix #3916: Light Shader preview sometimes shows just a grey box