Prevent default keydown when focus