"Resize Window to Half Screen" Not Working as Expect for MS Word When the Side Bar is Open

Main and Front refer to screens, so they should be the same if the screen with the front window is the main screen.

My guess is that the side bar is a separate window that Word is moving with the other window (an attached sheet perhaps).

Find out what the FrontWindowFrame token returns for the window in various states and see if the actual window is the part without the sidebar.