Fixed bugs involving anvil mechanics and enchanted books