Fixes asset loading without page.url hack.