added undefine check for remotePlayer

fixed the bug where:
remotePlayer.remotePlayerBall is called when remotePlayer is undefined