Fix GL context not being destroyed on win32