Link to correct anchor when selecting object