It seems there is a bug when you end up in the border of a platform. The player gets stuck there, glitching between two positions. I played twice and found the same problem. :(
Thank you for reply. The thing is that when I end up in that situation I can "ungrab" the ledge, I press in all directions and the player is stuck there.