Fixes a bug with custom game object manager