Some inviting issues fixed.

Still has one bug when you enter the game.
Some inviting issues fixed 2.