Avoid sending empty arrays to IntervalIndexer

Avoid index out of bounds exceptions due to IntervalIndexer not handling
empty arrays by making the updatePosition methods simply return if the
image is a single plane.