restore antialias setting on exit