Yeah, the fact that this is set up like an idle game but doesn't run when not focused completely ruins the experience. Seriously massive failure by the dev. There's absolutely no excuse for the game to have been designed this way.