Once something has fallen out of a box, the game has already decided who gets it. If it is decided that you are the one to get it, when you go solo or are kicked it will follow you. As for inviting people, I don't know if that causes the game to reconsider or not.
Intentional or not, because drops do not replicate on party splits prevents an exploit to farm infinite gear by simply being invited then going solo and then inviting someone who will in turn go solo etc. (not sure if this would cause the new party to be restricted or not)