Fix multisampling not working on X11

Close #152