Fixed result check & moved interm. image to the right place