Fixed the loop a bit further.

https://www.youtube.com/watch?v=HJspPKzs1Bg