Addressing https://github.com/minetest/minetest/issues/1525