MIDI data not locked to grid/behaving like audio

I don’t know what I must have accidentally pressed or clicked but in this one project when I record MIDI data and change tempo, the midi data gets stretched to stay at its recorded speed as if it were an audio record not in musical mode. So let’s say I record some MIDI at 120bpm and then I change the Cubase tempo to 300bpm, the MIDI data gets stretched so it still sounds like 120bpm. I am looking all over and have no idea where the option is to disable this, or is this just a buggy project?

Waiiit, finally noticed that all my tracks somehow got set to Time instead of Tempo based. I wonder why that happened…