Fix issue #1897

Small key fix. tested - windowGL, windowDX, win8. All works.