Cox and Leaning make it tough day for Sussex in Kent