Fixed the replay function in canvasrenderer.js. (The replay function did not reload the XML on restart before)