Fix a regression bug, broken numpad key handling, introduced by last commit.