The reason behind the auto-kick after being inactive in a room is to avoid AFK kills, which could happen in your case, it is also implemented to avoid having people filling up spaces in rooms unnecessarily.