Using beamer with the mtheme, I want to have a global transition effect (a fast fade) which I set using the following code:
\addtobeamertemplate{background canvas}{\transfade[duration=0.2]}{}
as found on this answer.
However, doing it messes up with my slides settings. It doesn't change every slides, only the \section ones that are slightly shifted to the right, adding a white line on the left, as seen here:

I tried using XeLaTeX and LuaLaTeX, as they are the only compilers I could use for my current font, but they both have the same issue.
It probably comes from the theme, however I have no clue why it would happen or how to fix it.
Edit : MWE
\documentclass{beamer}
\usetheme{m}
\addtobeamertemplate{background canvas}{\transfade}{}
\begin{document}
\section{test}
\end{document}
Requires the mtheme to work
\documentclassand ending with\end{document}. – Bobyandbob Jun 15 '17 at 09:30\transfade. – Varpie Jun 15 '17 at 09:45IMPORTANT NOTICES FOR VERSION 1.0 The package and theme name changed from **m** to **metropolis**!– Dr. Manuel Kuehner Jun 15 '17 at 09:54mthemeproblem. As Joseph Wright said in cited question, what you want is not possible and the proposed workaround is just a workaround that doesn't work on all situations. – Ignasi Jun 15 '17 at 09:55metropolistheme is already in CTAN: http://ctan.org/pkg/beamertheme-metropolis – Ignasi Jun 15 '17 at 09:58\section, how could it be modified if not with default values? – Varpie Jun 15 '17 at 10:43