Previously, clicking an item from the player's inventory, while having the XP Shop UI open, would still run the purchase events.
Currently, I added a check to see if the player is clicking a player's inventory, if true, purchase events will not still run.