[Bug 3341] Running opengl or directx app in desktop mode should keep the mouse inside the window