Entity addcomponent small bugfix