Retroactive recording does not take drum map into account

Feels like a bug. Did anyone else encounter this?

Regular record and live playback when playing midi works perfectly well, but when hitting “retroactive record” it inputs the wrong notes.

Which version of Cubase?