Merge "Don't render the preview while it's not visible to the user." into gb-ub-photos-denali