This has been fixed in the beamer development version: https://github.com/josephwright/beamer/commit/0590aca2f8a175904994dc0693ae42aed1feca11
Until a new beamer version is released, Latex users can temporarily add the file https://raw.githubusercontent.com/josephwright/beamer/0590aca2f8a175904994dc0693ae42aed1feca11/base/beamerbaseoverlay.sty to the same folder as their .tex file.