It appears to be working correctly.
The links that show highlighted as the current page are actually links to the current page.
It doesn't select the current page based on where you clicked. It selects the page based on what page you have open compared to the location in the link.
You can see that if I click on the selected pages, the links go to the current page. You would have to update the links to go to a different page if you don't want them selected as link to the current page when the page opens.