Added ball collision.