Fixed a bug with hiding messages on the client side