Fixed the preview image fading in and out.