Fix bug.

xDest and yDest were being incorrectly initialized.