fixes foto position bug. also makes sure canvas and canvas fbo are clean before drawing the image