Mark Allen was well beaten by Mark Williams but retains his place in the top 16