Fixes #18 (centering on hidden objects)