Fixed a bug relating to updating position.

Successful movement did not update the unit's position. This caused the
destroyUnit method to destroy the wrong unit at the wrong location. This
has been addressed in this commit.