Fix bug created by bug fix in last commit
Prevent player from moving too far to the other side