I am currently writing a KOMA-article document in Latex (Lyx) and discovered the following issue:

In order to show comments in pdf I tried the pdfcomment package and the todonotes package. Unfortunately when using one of the two packages with fancyhdr, the necessary text offset is being ignored, so that the text is written over the header.

With no comment package there is no problem at all.

Is this issue already known ? Is there any solution ?

Thank you in advance.

Edit:

I just tried to create a minimal example (Latex export from Lyx) as I realized, that even with the fancyhdr package only I see the shift at the first section:

```
%% LyX 2.1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[ngerman]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\usepackage{float}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.

\usepackage{fancyhdr}

\pagestyle{fancy} 
\fancyhf{} 

\fancyhead[L]{\parbox{9cm}{\flushleft \bfseries Test\\ \scriptsize Test} \\ \vspace*{0.15cm} \mdseries \scriptsize Test} 
\renewcommand{\headrulewidth}{0.4pt} 

\makeatother

\usepackage{babel}
\begin{document}

\section{Intro}

TEST TEST TEST

\newpage{}

\section{Second}

TEST TEST TEST
\end{document}

```