Tried changing to KeyListener...

Please test!