Fixed bug that causes jumping when turning in same direction