Mark Williams fought back from 4-1 down to see off Matthew Stevens 6-4 and advance to the quarter-finals of the Betfair Masters.