diff --git a/layout.sty b/layout.sty
index 28384b865311ad26d04b25e0aa1cfd7d7390ee2a..5e5a89c9dc5be607ddffebe8e0f26c2ef975a2c8 100644
--- a/layout.sty
+++ b/layout.sty
@@ -469,15 +469,16 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
 \tikz[baseline,trim left=1em,trim right=3cm] {
     \fill [\pageSideColor] (2.5cm,-1ex) rectangle (\linewidth+1.5em,2.5ex);
     \node [
-        fill=\pageSideColor,
+        fill=white,
+	text= \pageSideColor,
         anchor= base east,
         rounded rectangle,
-        minimum height=3.5ex] at (3cm,0) {
+        minimum height=3.5ex] at (2.9cm,0) {
         \textbf{\arabic{section}}
     };
 }%
 }
-\titleformat{\section}{\large}{\titlebar}{0.1cm}{\textcolor{chapnumcol}}
+\titleformat{\section}{\large\needspace{8em}}{\titlebar}{0.1cm}{\textcolor{white}}
 \renewcommand*{\thesection}{\arabic{section}}
 
 %
diff --git a/test.tex b/test.tex
index af9bcbbad63d97b9f84b545a7744ebc527b2dba0..254962f7729540df70bfaca7a30b8901896898ad 100644
--- a/test.tex
+++ b/test.tex
@@ -427,7 +427,53 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed
 \noindent
 \lipsum
 
+\end{multicols}
+
+\newcommand{\tests}{
+
+\chapter{Another Test}
+
+\section{Test Section}
+
+\begin{multicols}{2}
+
+\lipsum[3]
+
+\humanbard
+
+\lipsum[2]
+
+\subsection{Test subsection}
+
+\elf
+
+\lipsum[3]
+
+\elf
+
+\subsubsection{Test sub-sub-section}
+
+\lipsum[10]
+
+\subsubsection{Test sub-sub-section again}
+
+
+\subsection{Test subsection}
+
+\lipsum[2]
+
+\elf
+
+\lipsum[10]
+
+\section{Last Section}
+
+\lipsum[3]
 
 \end{multicols}
 
+}
+
+\Repeat{4}{\tests}
+
 \end{document}