Check for window-system before disabling ApplePressAndHold