fix draw lag with keyboard shortcuts
fix the doc error