player pos resets if outside world boundaries