diff --git a/game/engines/default/engine/LogDisplay.lua b/game/engines/default/engine/LogDisplay.lua
index 870d01479f66019a79c3600d1c06894ebebcc003..fa734611a48164aab2bdf7fa8e4d25d6cd521190 100644
--- a/game/engines/default/engine/LogDisplay.lua
+++ b/game/engines/default/engine/LogDisplay.lua
@@ -249,6 +249,7 @@ function _M:toScreen()
 		if self.shadow then
 			if shader.shad then
 				shader.shad:use(true)
+				shader.shad:paramNumber2(item._tex_w, item._tex_h)
 			else
 				item._tex:toScreenFull(self.display_x+2, h+2, item.w, item.h, item._tex_w, item._tex_h, 0,0,0, self.shadow * fade)
 			end