Random bug fix in game engine add component and in initialisation of component