Fixed bug that prevented multiple components displaying