Fix sending final episode-end data to visualizer