There are two problems I see here... first, you are trying to anchor a 3D UI. Second, you are rotating something, then try to anchor it. Anchoring isn't meant to work for something that has been rotated, and I am not 100% certain it will work for 3D UIs, depending on how they are set up.