Added cleaning in Render destructor