Fixed a bug in deleting scenes while previewing