Focus canvas when item is selected to make sure we get keyboard events.