Recording in the key editor also records in project window

Just upgraded from Cubase 10.5 to 13. In 10.5, when I was recording inside the key editor, nothing in the project window would record, even if it was selected the the record enable button on. Now that seems not to be the case. For example I’m recording a midi part in they key editor, but I happen to have an audio track selected in the project window. When I’m recording the midi part directly in the key editor (the project window is not in focus) an audio part gets recorded on that track. Is there a way to change this?