CGContextSaveGState: invalid context 0x0. If you want to see the backtrace

NoSuchKey