fix: Cap auto-detected editor rows within NDV boundary (#33727)