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

...d.

Components are only added to the tray if they already haven't been added.