Fix smooth lighting regression

Fixes the issue described here: https://github.com/minetest/minetest/issues/1859