Hello Mathias,
If you have referenced the model in another coordiante system after building DEM, you need to rebuild DEM, as it remain in the older projection, while the orthomosaic generation process is trying to find the surface in the new projection.