fix A Runtime_error on refresh scene in DemoKnight
release memory when replace scene