Change to trajectory of spot.
Fixed bugs in showing path of spot.