Wrap movement on X & Y (although Y needs a different solution.