Ball now checks if it crossed lines in x and y