Fixes client side routing when a content view is rendered.
Resolves #2456.