Added logic to reset zoom of image editor when switching/creating images and also fixed blue rectangle showing in wrong place when drawing rectangles.