Add New API replaceToRootScene for Director