Fix the message panel display issue.