Fix JSHint issue with _renderToBuffer refactor.

This was introduced with fb098d761137744add367bb53a1c279a4a09ffb9.