Fix keydown event handling leak

Bug: 61337
Change-Id: Iee28a3e19a5a526876fb93900a12844c35b74ecc