Don't try to update the scope if there's no buffer yet.  Fixes #4388