Destroys entities when scene is destroyed.