Update the location info in the stack if the cursor is moved before jumping.