MADS: Added some missing code for scene change freeing