similar to an old bug in mtg (which was resolved in https://github.com/luanti-org/minetest_game/pull/3208)