Do not attempt to add an offset to the position timing if the offset is NaN
Use a more elegant method of detecting NaN
Merge pull request #40 from jonty-comp/master

Do not attempt to add an offset to the position timing if the offset is NaN