What is your actual question? You said "the frame moves regardless of which modifier I use", but is that a description something your code does now that you don't want, or a description of something...

1. Adding entries to right-click menus is highly inadvisable, as doing so will taint the entire dropdown menu system, which will block a wide variety of actions (join/leave battleground, dismiss pet,...