Fixed relative movement bug

Closes https://github.com/PistonDevelopers/piston-examples/issues/31