Fix #93: set keyboard focus to canvas on click

This fixes issue #93 by setting the focus to the canvas when it is clicked.