Fix multiple texture support for animated meshnodes.

This will allow 3d entity models to use multiple UV textures and materials.

Forum topic: http://forum.minetest.net/viewtopic.php?pid=91372