You neeed to make sure you're using the correct frames
Code:
SizeName(TargetFrameToT)
SizeName(FocusFrame)
The UI uses the TargetofTargetFrameTemplate to create ToT frames but uses the parents frame name and adds the "ToT" suffix so the TargetFrame Target of Target is created as
TargetFrameToT