Hotfix: cursor bug in windowed mode