fix threshold being incorrect for desktop