use apiMoveOutX instead of deprecated apiMoveOut

Passing the player position to apiMoveOutX also fixes the bug where
players teleport to their previous x/y in the new location.
Merge branch 'Whizy-tpfix'