Restrict player to boundaries