Implements UIView#FEX_captureImage and FrankHelper#capture.