Fix: position is incorrect when the desired marker has not been found.

On a sidenote:
I have no clue to where I shall file this PR now.
Master is 1.8 but has branch-alias 1.7 and develop is also 1.8 but has branch-alias 1.8.
Therefore I went with develop as 1.7 appears to be unmaintained and the branch alias has simply been forgotten.