Alternatively, it'd be great if there was a way to reset Paths in the Debug room or if the dragon could get you out of any Path, although I get this might cause issues.
Edit: tried to see if I can fix the problem myself with a simple save editor, but that just lead to a lot of variables with no clear indicator of which one does what, so I didn't wanna mess with them