further improve the WGL backend