Cubase is somehow recording headphone mix instead of input directly.

You’re welcome, no problem. These things are rarely intuitive. Developing “technical assistance search techniques” is as important as musical skills sometimes! The forums, YouTube channels, Sound On Sound Magazine and others, not to mention the manuals, plus plain old hours on the DAW are all necessary in one fashion or another.