Shadows not rendering correctly when setShaderAuto() is used

Example: