Fixes a bug where players clicking items in their own inventory while a custom inventory is open triggers items in the custom inventory.