Fix anti-alias bug