Add Input Pane Awareness. (#21566)