guard wrapPos when up-skipping to avoid infinite loop
Merge pull request #145 from chrox/master

guard wrapPos when up-skipping to avoid infinite loop