Fixed shifting of VOI for selection.

Fixes issue #175.