Alex Pritchard took an embarrassing tumble but had the last laugh by scoring in Huddersfield Town 0-2 Sunderland.