Only the keyboard behavior of the currently active state(s) should be polled