Templates not disposed on page navigation

When navigating from one page to another without animations, templates were not disposed.