Fixing item spawning issues