Fixed initialization order of GameObject.