fixes #3903 - fixed menu links when relative URLs are set