Chat Disabled and still chatting

In my game when a player dies or joins the game the chat and leaderboard and disabled.

Once the player dies and they have the chat on like they are going to type something they can still submit it in

Not sure if this is meant to be like that.