Fix the logic when tweaking the envelope to only pan, instead of zoom, when positioning a visible graphic.

Signed-off-by: Blake Skinner <bskinner@mit.edu>