removed excess context save()/restore() calls
added one global save()/restore() around render
default image smoothing