Add anti-aliasing flag to paint