Hacked to remove fixed-distance displace.