fixes game freeze when user goes to far right