[processing] fix extent selection in batch mode (fix #11878)