Custom element loading (some bugs with child components)