Reversed the order of the x and y velocities provided to the setVelocity method in order to correct an odd index map/wrapping issue.