Fix bug where a GraphicObject object sometimes restarts animation