Make sure title is hidden if there is text