[processing] fix issues with Create Grid algortihm