Fixed some rendering weirdness when displaying the empty grid message.