Bugs fix for line movement and multiplayer game ending