catch cancelation of screenshot