Fix application overrides of UI tag templates

Hi,

Another small fix to allow UI tag templates to be overridden in an application.

Simon