Pass player position to apiMoveOutX

Fixes bug where players teleport to their previous x/y.