Modified entity helper to register all global entities also as mod entities - fixes sync issues.