Fix crash with mods that think the crafting grid is bigger than 3x3......