Resolve unexpected cursor tracking when switching virtual consoles. (dm)