preventDefaults() only for known key presses.