ignore dead key event

* do not crash on a dead key event