fix crash when no exitPointerLock, see #1074