Fix breaking of enchanted items casting