Fixed loading preview image. Fixes #33