fixes anti aliasing problems on linux