Fixes a bug in latest movement update.
Merge pull request #92 from cyberjunk/master

Fixes a bug in latest movement update.