* fixed memory leak on scenes replace

http://gafmedia.com/forum/viewtopic.php?f=8&t=73