Fix crash when thaumcraft items are disabled