Fixed bug which did not load preview on start