The client doesn't care if it gets erroneous keyReleased events, and fixing this is not entirely trivial.