Fixed PreviewFragment.

Now only loading images when PreviewFragment is visible.