Proper chain of events when updating position.
Added comments to make life easier for future me.