Ah the getting stuck is typically a ledge grab so if you hold spacebar you can like pop out of those!