Fix restoring of the current buffer when it's a network buffer