Hello Filip,
The default camera track options (Vertical and Horizontal) are created in respect of the bounding box (working region). For example, horizontal track uses the colored side of the bounding box to define the XY plane.
I could assume that the bounding box is 90 degree rotated in your project, which causes unexpected horizontal track creation.
Most likely the problem should be fixed, if you use Reset Region option in this project and re-create the horizontal track. Enabling Show Region option in the Model view would make it convenient for manual bounding box adjustment, if required.