Disable image smoothing in writeTextToCanvas.