Prevent document 'keypress' handlers from stealing focus