remove makeOpaqueFlash() to capture flash