Fix frame title for frames with allowframebreak

Use \setbeamertemplate instead of redefining \frametitle