Fix a bug that would leave the last clicked grid location in a bad state when elements are moved in a certain way and then the next step is to immediately shift drag lock. Thanks to James for finding this.