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

* commit '777cbe660a5dc236d120375ecd3a7b9939b1ad7c':
  Don't render the preview while it's not visible to the user.