Thank you very much for the review!
Unfortunately I was not able to solve this problem until the submission was finished and I want to maintain the purity of the jam. I personally think it's one of the upgrades that has to do with the charging cost/size causing problems. Recommend to avoid choosing them, but overall, all my games have had no problems during testing, so I don't really know what this is causing.
If I had more time to work on it, I would probably just probably arrive at a solution.