Fix glitch with anvil max stack size always being set to '1'.