SCI-580: fix calculation of sliced image position on a 2D grid