give focus to the canvas and disable key press defaults