Fixed bug when trying to buy cookie upgrades