Merge "Fix dispatcher logic of handling same key pressed and released from different devices."