Fixes spawning items with damage values