Yeah, I realized that when you click on an upgrade, your mouse actually focuses on the resource, and I never changed the default focus settings, meaning that every time spacebar was pressed, the same upgrade resource would be clicked again. That's a bug I should have fixed earlier by disabling focus, but I'm sorry that caused you some issues :|