Restructured the animation loop so that certain elements will still draw at an endgame.