Add undefined checks to onKillRemoteBall

This adds `undefined` checks for `remotePlayer` and `remotePlayerBall`