Fix crash when use x64-system: OverflowError: in method 'eActionMap_bindAction', argument 3 of type 'int'