In order to capture UAC prompt without getting a black screen, you must change your UAC settings to disable the secure desktop.