TeamViewer V14.2 changes order of keyboard inputs

Is there a specific reason why TeamViewer changes the order of keyboard inputs? For example, I type fast "123" on the local computer. The actual sequence of inputs is as follows:

  1. Press Key "1"
  2. Press Key "2"
  3. Press Key "3"
  4. Release Key "1"
  5. Release Key "2"
  6. Release Key "3"

But on the remote side TeamViewer generates inputs in the following order:

  1. Press Key "1"
  2. Release Key "1"
  3. Press Key "2"
  4. Release Key "2"
  5. Press Key "3"
  6. Release Key "3"

The change of order in which keyboard inputs are received has a side effect in 3rd-party components, e.g.barcode scanner drivers not working effectively.