Fixes path that breaks when themed page is nested