[subtree] Fix the narrowing issue in the after-reading hook

That is, don't insert overlays from outside the narrowed region