bugfix for when items source changes after template, which could cause some things not to be reloaded.