Octoprint jamming into top right corner on connection?

What is the problem?
Whenever I connect to Octoprint through my CR-10 Max, it seems to home to the top right of the bed and makes a jamming noise as it tries to force itself further than is possible. Home is naturally at the bottom left. This only happens with octoprint - in pronterface, through lcd etc home goes to the correct place.

What did you already try to solve it?
Google around, but can't see any obvious answers - figure there must be some erroneous GCode setting somewhere in Octoprint?

Do you have any GCode scripts defined?

Check this list as well.

Nothing in startup other than usual G28 command in startup script?

Going to need logs then.