Fixed some bugs:

The preview is now always rendering at  downscaled version of the image