Removes debug movement code.