fix autorendering

With the last commit adding Latex the render method got a parameter, which was not yet given when autocompiling, causing it to crash on the first change.