Fixed player getting stuck on boundaries