ComponentManager._getComponent returns null if bag of components has a size lower than the id of the entity, closes #30