Improve GraphicObject to handle animations