Fix keystroke logging intervals on OSX