Run any pending animation loops before setting to paused, see https://github.com/phetsims/pendulum-lab/issues/187
Run any pending animation loops before setting to paused, see https://github.com/phetsims/pendulum-lab/issues/187

phetsims/joist,phetsims/joist,phetsims/joist