After refreshing a document rewind it to where it was originally.

On error, rewind to 0,0 to make sure an error message is visible.