Bug fix for no anti-aliasing