[Bug 6468] Matlab 2006a deadlocks when a key is pressed