Make sure we keep the hitPos.

The 'else' part was a noop, fixed it to actually work (and follow coding style).
Merge pull request #293 from karvanit/minor-fix

Make sure we keep the hitPos.