Fixed bug causing erronous travel.