And remove unnecessary set-jump on imenu-after-jump-hook (it should happen before the jump, not after).