For when it's happening at your table, sometimes I think you just have to shut down the game if the players are unengaged and dicking around, falling asleep, etc.
For stopping this happening? Nothing. People are stupid. (All of us.) For some that expression of stupidity comes in the form of reading one word in a text and assuming the rest without bothering to read further. You can't fight that.