Fix relativeSpeed reset bug.