Fixed crafting crashes