Handle frame-title-format and icon-title-format being t

How has this not caused any problems before?..