Move graphics end image context to defer to account for guard exits.
Move graphics end image context to defer to account for guard exits.

fulldecent/FDWaveformView,fulldecent/FDWaveformView,fulldecent/FDWaveformView