Rendering and ItemStack-related bug fixes.