I've adapted the example from this question:
\documentclass{beamer}
\setbeamercolor{block title}{bg=red!30,fg=black}
\begin{document}
\begin{frame}
\begin{block}{This title has a problem}
some text
\end{block}
\begin{block}{This title is about fine}
some text
\end{block}
\end{frame}
\end{document}
The result looks like this:
The second title looks fine, but the first one looks wrong - due to the "p" crossing the baseline. How can I fix that?

\vphantom{Ag}makes all titles look like the first one. So the height is the same, but they are all top-aligned as well, which still looks wrong. Is it possible to apply the vphantom fix automatically to every block title so that I can insert a custom strut instead? – Jakub Klinkovský Jul 06 '17 at 11:51