Fix Entity::SerializeToXMLString to actually produce output.
Default construct EntityPtr parameter when removing an entity from its parent on removal from scene.