fix bug with input elements while keyboard shortcuts enabled