diff --git a/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp b/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp
index 4c0c1ecac30add7338f59b46ac6f7c1d9bb0f19b..8820d3f28b42f003c3321c55ca34dcd8e0be441c 100644
--- a/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp
+++ b/dependencies/subprojects/animationwindow/src/AnimationWindow.cpp
@@ -261,7 +261,7 @@ void TDT4102::AnimationWindow::draw_text(TDT4102::Point topLeftPoint, std::strin
     textWindowCounter++;
     std::stringstream windowName;
     windowName << "text" << textWindowCounter;
-    startNuklearDraw(topLeftPoint, windowName.str());
+    startNuklearDraw(topLeftPoint, windowName.str(), textToShow.size()*fontSize, fontSize);
     fontCache.setFont(context, font, fontSize);
     nk_color textColour{color.redChannel, color.greenChannel, color.blueChannel, color.alphaChannel};
     nk_text_colored(context, textToShow.c_str(), textToShow.size(), NK_TEXT_ALIGN_LEFT, textColour);