[BUGFIX] Do not access protected renderer property

The Renderer counter is not resetted if render mode is not latex.
This prevents a PHP error when the protected _counter property is
accessed.