fix firing events S_NEW_PLAYER/S_PLAYER_DETACH after handling them