Just noticed, you haven't given your frame a visual presence. You need to give it a backdrop or background texture/color to visually see it. However, using /framestack will allow you to see where it would be if it was viewable.
I'll just code up a quick mini addon to make sure it does do what I expect and then I'll post it up for you.
Edit: Spotted some other boo boos so will rig up a quick and dirty version for you to use as an example