Shooting fix

Fixes a problem in shooting with the toy dynamics. In the process of tracking it down, I found some stuff to improve in `DynamicsEngine.generate` and did some cleanup in `PathMover`.