fix accidental typing into wrong window