Fix crash on player elimination (#1191)