Added UIGraphicsPopContext() to balance UIGraphicsPushContext()

The use of UIGraphicsPushContext() should be balanced with UIGraphicsPopContext().