Here's a very simple script that overrides all master page items on page 1:
tell application id "com.adobe.InDesign"
tell active document
override every item of master page items of page 1 destination page page 1
end tell
end tell
For some reason, this results in the page items shifting up and to the left of their original location. I cannot figure out why this is happening. Overriding page items should NEVER move the items. In fact, when I manually override in InDesign, nothing shifts. It appears to be affecting a specific layout. When I do a test document, the problem goes away. This particular document has many levels of master pages applied to each other, then applied to a layout.
Anyone else encountered this issue?