fix falling through line problem caused by rounding of ball coordinates