Fixed initialization stack overflow. Now SharedInitialize is called on the rgm base entity instead of every entity