Fix glXMakeCurrent failing on ATI drivers