fix z out-of-bounds bug in SourceSpotImageUpdater