Fixed shared material bug, now actually using one