added check for components_wanted == null for systems that don't process entities