has_component should take a Type, i.e. Position or Selection, not an instance of Component