Fix bugs caused by if instead of visible

If does not remove main element (where the if resides), so used if comments instead.
Also, scoreChange animation had a bug when replaying the game when the game was not displayed