Cleanup after generation of the scene