fix scene destroy operation