Fixed an issue where templates would be out of sync if multiple instances of a component were initalized at the same time.