Use lightgames.GIFAnimator in SimpleGame