Bugfix for duplicate components in tray when a custom component is loaded.