Checking for x-axis crossing in the wrong spot.