Added proper DOM (de)serialization to scene