So I took a chance and simply moved the Y end stop. It seems to have solved it. But was it the correct way?