Fix Some function keys or keyboard shortcuts do not work correctly