Fix navigation UI with templating system.