Propagate only if 'event->state == 0' as implemented in commit bed036ac breaks the key handling when NUM lock is active. Fixes #821