Fix incorrect assignment to yspeed