I'm a bit unsure with storing the frameState in the instance, and reusing it later when handleUnitsChanged_ is called.