Fixed a bug with messages not being displayed.