In those cases (Barrels and partial stacks) I would probably instantly teleport the item, and then play the animation. I don't know, that's a good problem for it.
Or, I would use particle effects to substitute for the item prior to teleportation and not even try to pretend that it's the item...