Side Scroller ledge climbing

So I followed a tutorial on youtube by a guy called Crocopede, his Ledge climbing tutorial is quite good as it showed me everything I needed to create a Ledge Climb. I have but one issue though, If I don’t get the Static Mesh exactly right in terms of sizing and lining up the two sphere tracers, the characters position goes completely weird as shown in the image which then makes the ledge climb itself not work any more. Is there a node that will reset the characters orientation/position or a way to fix this issue?

Many thanks in advance for your answers.