Fixed centerOn() when following a link.