Added optional AA (image smoothing)