Fixed bug in the basic example that stop a player from moving