I had the same problem where a global entity does not get created unless there first is a client connected entity. As in my case it was not a real problem I use a workaround.
ok umm, so the function doesnt call but how is that, arent all actions assigned in wed called automatically and if so, why does it call when a client joins