Fix non-smooth non-shader node shading (Fixes #1436, regression by commit a0f78659f31abd)