Can you post a screen shot of what this looks like? My guess is that your DrawFilter will also have to draw the focus rectangle. The tree can't possibly know how big the text is when you are drawing it.