--- a/dlls/comctl32/treeview.c	2018-01-18 16:38:28.000000000 +0100
+++ b/dlls/comctl32/treeview.c	2018-01-25 16:09:14.670334742 +0100
@@ -2555,6 +2555,7 @@
     oldTextColor = SetTextColor(hdc, nmcdhdr.clrText);
     oldTextBkColor = SetBkColor(hdc, nmcdhdr.clrTextBk);
 
+    TREEVIEW_ComputeItemRect(infoPtr, item);
     /* The custom draw handler can query the text rectangle,
      * so get ready. */
     /* should already be known, set to 0 when changed */
