There's a bug in the newest version of Photoshop where, when making a selection with the magic wand tool with a Wacom pen, there is an unintended move action performed at the same time, causing the selection to shift mistakenly.
The move action is logged in the history, despite the fact that clicking with the Magic Wand shouldn't ever cause a selection to move. This generally only happens on the first click of the Magic Wand, and then performs normally for any additional selections.
This bug happens on the Wacom Cintiq 27QHD, which uses the older Wacom Pro Pen 1. I do not know if this bug is also present on the newer model Cintiqs that use the Pro Pen 2. This bug does not happen when using a mouse.
This bug was not present in older versions of Photoshop.