Here is a small css snippet that can be used to hide the YAML frontmatter, as a workaround until it is fixed in the Slides plugin:
section.present > .frontmatter,
section.present .copy-code-button {
display: none;
}
It also hides copy buttons from code blocks.