Fix second memory leak in KeydownEvents.