fix detection of infinite stacks

(forgot to return itemstack back from the on_place callback)