added canvas.setImageSmoothing