fixed jinput for mac