It's a feature! I can understand though why it might be annoying, but attemping upgrades and buying blocks mid level was supposed to be a risk reward thing. Probably should be removed though to reduce painful losses, but thanks for playing!